<template>
  <div class="registerSuccess">
    <div class="head">
      <div class="box">
        <div class="_titlt-name">
          <p>数字化供应链生态平台</p>
          <p>|</p>
          <p>注册账号</p>
        </div>
        <!-- <p class="phone">客服热线：010-11211200</p> -->
      </div>
    </div>
    <div class="content">
      <div class="center">
        <el-image class="img" :src="img.succ" alt="注册成功"></el-image>
        <p class="succ">注册成功</p>
        <p class="desc">立即企业认证为会员，即可进行正常操作。</p>
        <div class="menu">
          <el-button type="primary" @click="toLogin">立即认证</el-button>
          <el-button type="primary" @click="toLogin">去首页</el-button>
        </div>
      </div>
    </div>
    <div class="footer">Copyright © 2020 数字化供应链生态平台</div>
  </div>
</template>
<script>
export default {
  layout: 'blank',
  data() {
    return {
      img: {
        succ: require('@assets/img/home/success.png')
      }
    }
  },
  methods: {
    toLogin() {
      this.$router.push({
        path: '/login/index'
      })
    }
  }
}
</script>
<style lang="less" scoped>
.registerSuccess {
  height: 100%;
  background: rgb(244, 247, 250);
  position: relative;
  .head {
    width: 100%;
    position: absolute;
    background: #fff;
    .box {
      width: 1200px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 0;
      ._titlt-name {
        display: flex;
        align-items: center;
        p:first-child {
          color: rgb(62, 152, 236);
          font-size: 24px;
        }
        p:nth-child(2) {
          color: rgb(217, 217, 217);
          margin: 0 20px;
        }
        p:last-child {
          font-size: 18px;
        }
      }
      .phone {
        font-size: 16px;
      }
    }
  }
  .content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 0;
    .center {
      width: 822px;
      height: 420px;
      background: #fff;
      .el-image {
        width: 80px;
        display: block;
        margin: 80px auto 16px;
      }
      .succ {
        font-size: 32px;
        line-height: 45px;
        color: #4d84ff;
        margin: 0 auto 11px;
        text-align: center;
      }
      .desc {
        text-align: center;
        line-height: 25px;
        font-size: 18px;
        margin-bottom: 43px;
      }
      .menu {
        text-align: center;
        .el-button {
          background: #4d84ff;
          border: none;
          border-radius: 4px;
        }
      }
    }
  }
  .footer {
    width: 100%;
    padding: 10px;
    color: #aaa;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
  }
}
</style>
